import request from '@/utils/request'

//  分页查询
export function handlePageList(query) {
  return request({
    url: '/api/flow/instance/exception/page',
    method: 'post',
    data: query
  })
}

//  处理异常
export function handleDeal(data) {
  return request({
    url: '/api/flow/instance/exception/deal',
    method: 'post',
    params: data
  })
}

//  异常详细
export function handleTrace(data) {
  return request({
    url: '/api/flow/instance/exception/trace',
    method: 'post',
    params: data
  })
}
